package com.ddatsh.transaction.core.model.validation;

import java.util.List;

import com.ddatsh.transaction.core.model.TransactionDefinition;


/**
 * 数据完整性校验
 * 
 * @author ddatsh
 * 
 */
public class ValidationRule {
	private Long id;
	private TransactionDefinition transDef;
	private String description;
	private String status;
	private List<ValidationRuleItem> items;

	public Long getId() {
		return id;
	}

	public TransactionDefinition getTransDef() {
		return transDef;
	}

	public String getDescription() {
		return description;
	}

	public String getStatus() {
		return status;
	}

	public List<ValidationRuleItem> getItems() {
		return items;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setTransDef(TransactionDefinition transDef) {
		this.transDef = transDef;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public void setItems(List<ValidationRuleItem> items) {
		this.items = items;
	}

}
